
from django.contrib import admin
from django.urls import path

from apps.users.views import UsernameCountView, RegisterView, MobileCountView, LoginView, LogoutView, UserInfoView, \
    SaveEmailView

urlpatterns = [
    path('usernames/<uname:username>/count/', UsernameCountView.as_view()),
    path('register/',RegisterView.as_view()),
    path('mobiles/<mobile>/count/',MobileCountView.as_view()),
    path('login/',LoginView.as_view()),
    path('logout/',LogoutView.as_view()),
    path('info/',UserInfoView.as_view()),
    path('emails/', SaveEmailView.as_view()),
]
